package ssm.mapper;

import org.springframework.stereotype.Repository;
import ssm.pojo.Order;
import ssm.pojo.User;

import java.util.List;

/**
 * Created by sally on 2016/8/16.
 */
//@Repository
public interface UserMapper {
    public List<Order> getUserOrders(int id);
    public User getUserById(int id);
}
